"use strict";

// (x => x * 2)(1);

// console.log('fdsf');
// let s = Symbol('foo');

// console.log(s.toString());
// console.log(typeof(s));
function Testable(target) {
	target.prototype.c = function(num) {
		console.log('num:' + num);
	};
}

@Testable
class MyComponent {
	constructor(a, b) {
		this.a = a;
		this.b = b;
	}
}

var mycomponent = new MyComponent(1, 2);
console.log(mycomponent.a);
console.log(mycomponent.b);